package com.lanou3g.ptp.organize.service;

import com.lanou3g.ptp.entity.Major;

import java.util.List;

public interface MajorService {
    void addMajor(Major major);
    Major findById(Long id);
    List<Major> findByIds(Long[] ids);
    Major findByName(String name);
    List<Major> findAll(Integer page, Integer size);
    void updateById(Long id, Major major);
    void deleteById(Long id);
    void deleteByIds(Long[] ids);
}
